Make top-level nodes the children of a root node.