Allowed custom functions to be called when use_interface or use_unknown is const