Use getter on GrammarRegistry