Added type view to edit view.