Define enums as types.