A Visitor for Scopes. The default implementation does nothing, so users only need to implement the ones they need.