Use correct access type for a pointer.