views: improve the created Class Based Views.