Using bool instead of uint8_t for boolean values