Makes import 10× faster on the test library, through batched inserts.