Added tree structure.