Updated views to use class-based TemplateView (and not direct_to_template).