Correctly type this the Iterator.