Handle dupes better.