improvements to AutoBatch interface