Patching references.