Added ability to delete objects in batches