Added back batchSize to fix backwards compatibility