Completed Trie implementation, integrated in dispatcher.