if (typeof url !== 'string') {
      block = params;
      params = url;
      url = params.url || self.currentUrl;
    }