Allow different types of batch