Simplify array accesses