Remove the deleteAll() function, and replace it by two new functions:

 (1) deleteAllDatasets()
 (2) deleteAllGroups()