Added Huffman tree manager.