Command protocol.