Not really important but you don't need the square brackets: `set(instance_attr(inst)[0] for inst in instances)`.