Convert to HashSet.