Remove unused mappings.