Added batching.