changed translation of enums to use plain sigs