Updated batchWithData to be usable with new API callBatch function.