Working code generation.