Moved register_global_params into Model to simplify .ty files