Set now implements ExtensibleCollection. Simplified code by using set.extend(…).