Tree.

root(tree)

Follows the parent links in a map-based tree to return the tree’s root node.