Only handle PackageRef by reference in the header file, so we don’t create calls to the copy constructor and/or destructor. If this doesn’t work will need to create a stub implementation file.