Complete support for committing a new tree.