Removed HashSet check.