Changed enums to char type for some memory efficiency.