Const checking for array accesses, first try.