Classes associated with building trees from nodes.