Templatized the views.