Use uint8_t instead of byte, and remove byte.