Implementation of LanguageService