Remove duplicate classes