Iterator object generator.