Add view spec for layouts