Begin code generation implementation