Progress on implementing the protocol compatibility. Not working yet.