Allow writes to the block database to be batched