Remove unneeded iterator.