Adding --rooted option to treestore add.