Is there an API or way to perform a DeleteTree easily?