Use a const iterator.