expose classes for tree-constructing