Fixes #2 batch inserts.