Convert any function that takes a languageCollection into a method of that type