Remove duplicate entries.