Trie clear method added