Batch utilities