WriteBatch API improvements.