Changed scope of getTranslationMessages to protected