public function removeParam($key)
    {
        if (null !== $this->params) {
            unset($this->params[$key]);
            if (empty($this->params)) {
                $this->params = null;
            }
        }
    }