Move ambient function block checks to the grammar checker.