Removing unused fragments.