A helper method to prevent accidentally loading the view.