Added initial effort at code gen.