CAP-22: Add support for batchInserts