Added a Set class for storing unique objects.