StopIteration is no longer needed.