MergeFunctions: FunctionPtr has been renamed to FunctionNode.