Refact views.