Adding functionality for printing sets.