[Refactoring] Fix unresolved members now correctly fixes references.