Get GeneratorFunction from eval and set name if not exists

Closes #61

I have completed the CLA.