Migrates the IEnumerable assertions to the new extensibility model.