Move enum checks to the grammar checker.