Overridden applyBatch and run all operations in one transaction.
Merge branch 'master' into feature-json