TypesToScan is now a IEnumerable