Remove forEach call in the grammar checker.