Add basic enum code generation