Added new code generation capabilities. Works for now.