Batch and mini batch added.