Use as_array() and range loops in a few places
3 files changed