Batch insert revisions

Fixes #14