Using enums properly with EMF4CPP.