Begin code generation