Groups based on sets added.