Removed the requirement for Trie