Implement the new RootedTree functions