Added deleting of batches.