Added generator for views.