Added setLanguage method