public function params($merge = null)
    {
        if (is_array($merge)) {
            $this->params = array_merge($this->params, $merge);
        } else if (is_string($key = $merge)) {
            return $this->params[$key];
        } else {
            return $this->params;
        }
    }