Fixed enum typedefs.