Refactored method language() to getLanguage()