Stopped trying to generatorify inner functions.