Batching

Closes #282
Hm, that's a bit more difficult. Don't you think that would be too limiting as well?