Support nested batching
0.5.1