Rudimentary code generation.