Remove deprecated code in views.base