Added batch iterator.