registered_function_info struct changed to function_options class