Clean up global and lang_def grammars.