Improvement to composition using sets.