Consolidate asserts
Clear superview attributes when moving to other view