registerFunctionResolver