The decorated method isn't a generator.