First steps to rewriting iterators.