Use VisitHelper instead of referring to globals in views.