Basic generator.
Re-named getFunctionPrototype to getPrototype.