Rename `arrayRef` to `arrayProto` for consistency.