Use []byte for the batch buffers instead of *[]byte.