code: function(configArg) {
  
          // When specified, the `messages` option should trigger the complete
          // removal of any previously-bound message handlers.
          if (socket && configArg.messages) {
            _(config.messages).forEach(function(handler, name, messageHandlers) {
              socket.removeListener('message-' + name);
              cloak._off('message-' + name, handler);
            });
          }
  
          _.extend(config, configArg);
  
          if (socket) {
            cloak._applyConfig(config);
          }
        }
docs: Set configuration options for Cloak. These options will be applied
  immediately if Cloak has already been started (see `cloak.run`), and
  they will be referenced in all future calls to `clock.run` until
  overwritten.