Use immutable iterator in the enumeration iterator.