Adding a new CheckGlobals visitor.