Batched queue support
Closes T142