Add map, reduce, min, max, collect functions on Iterators.