FunctionWrapper & gt.registerFunctionPackage