convert ExtensionProxy to FunctionProxy