PR #2059 fixes the wrong handling of LoadFunction, but now extension constant folders will not see the LoadedFunctions (previously they would have seen Value::Functions, albeit malformed). This means we'll need a new enum, replacing use of Value, to pass into