It would be nice to be able to import functions into a type scope. import extra_string_utils:pixel_width to string; int something(string^ param) { return param->pixel_width("sans-serif", 12); }