Adding dimension information to ArrayPointer.