Refactors logic in LayoutView that belongs in WorkView.