Remove unused 'trie_exists' method.