Remove dead code in grammar constructor