Add implementation of the protocol.