Removed nested batches
Added isBatch value on batches. Closes #100
0.5.4