Use all provided classes as sources in genAndApply