Added support for language setting.