make Batch picklable
Preparing release 0.2.7