Refactor page object to be class-wide in PageController.