Fix the use of the language and region helpers after the API change.