Handle const/non-const arrays the same way.