Change union value type to contain uint8_t types instead of char.