Added typedefs for enums.