GrammarBuilder interface simplified