Use enums instead of #defines in types.h