sketch implementation of deleteAll in terms of listDescendants