Extract anonymous Work class into SaveBatchWork