Attempt to avoid duplicates.