Changed from c-trie to trie to conform to common convention.