Starting to implement bytes for the protocol