Implemented iterators.