code: function toStatic(fn) {
      function staticWrapper() {
        var args = [].slice.call(arguments);
        var self = args.shift();
        return fn.apply(self, args);
      }
  
      return staticWrapper;
    }
docs: Wrapper to allow the use of object methods as static methods of Immutable.