Use range-based for loops.