Added resolution of enhanced for loops for iterators.