Add NestedFragment class.