Remove duplicate mappings.