docs: function(socket, targetSockets, type) {
      socket
        .on('remood', function(msg) {
          console.log('RemoodConnection with id', self.id(), 'receiver -> remote:', msg);
          _.each(targetSockets, function(targetSocket) {
            targetSocket.emit('remood', msg);
          });
        })
        .on('disconnect', function(msg) {
          console.log('- Socket (' + type + ') disconnected from id: ' + self.id());
          var sockets = (type == 'remote' ? remoteSockets : receiverSockets);
          _.remove(sockets, function(sock) {
            return sock == socket;
          });
          console.log(self.statusString(false));
  
          if (!receiverSockets.length && !remoteSockets.length) {
            console.log('- Connection has no sockets left. Destroying');
            RemoodConnection.destroy(self.id());
          }
        });
    }