Removed extra methods.
Added second Trie type and converted to interface