Code generation WIP.