Iterates over traversable collection.