Allow references to keep references to the project that they were created in and use that project to deference the reference. PR: 25777 Obtained from: Jesse Glick