Adds the synctree method to delete (to reload tree)