Be a little bit more careful about the types for range-iteration