Use generic views: Less code is better