Added some basic code generation