Deleting duplicate classes