Support for chained batches

Proposed solution for issue #44

Ideally, it should pay attention to options objects beyond just the prefix option, but I didn’t feel like messing with the original batch functions that much.