Updated SpellChecker class.