Trie handling, and payload packing.