Split the fragments into independent classes