renamed addNodeFunctionCustom to addCustomNodeFunction.