Dynamically determine return type of function based on whether session parameter "STOP_ON_ERROR" is set
 - Use GlobalFunctionRegistry and internal use multiple FunctionImplementationRegistry