Refactor UIView.