Add Tree, TreeIndex API