Get rid of unused iterators.