Updated to use v3 of the C Trie solution.