Changed unsigned char to u8, etc.