GrammarRegistry uses lazy loading for registered grammars
minor changes