This shouldn't be too difficult to add; just need a prefix-trie and some inspection of the current env.