Using withAtomicBatch() instead of a separate method in the interface