code: function registerClientModelDocSockets(socket) {
    ClientModelDoc.schema.post('save', function (doc) {
      onSave(socket, doc);
    });
  
    ClientModelDoc.schema.post('remove', function (doc) {
      onRemove(socket, doc);
    });
  }
docs: Register ClientModelDoc model change events on the passed socket
  @param {socket.io} socket - The socket object to register the ClientModelDoc model events on