Sketch implementation.

This is nothing better than a sketch, because of the NULL env pointer.
Better sketch.  Let's see if this works.