public function removeOption($key) {
    $globalOptions = $this->globalOptions;
    
    if(array_key_exists($key, $globalOptions)) {
      unset($globalOptions[$key]);
    } else if($key = array_search($key, $globalOptions)) {
      unset($globalOptions[$key]);
    }

    $this->setGlobalOptions($globalOptions);
    $this->pdf = new Pdf($this->globalOptions);
  }