Implemented row iterator.