Added the missig trie_key_reset function.