Added javadocs, fixed exposure of IteratorConsumer