Fixup the custom function handling