Document the internal protocol.