Put all the protocol stuff into a separate header file.