Consistent use of i as an iterator.