Remove several global variables from the View module