Class of tree structure