Iterates over enumerable collection.