First classes for trie