public function cookies($name = null, $val = null, array $params = array())
    {
        $num = func_num_args();
        
        if (!$num)
            return $this->_dispatcher()->response()->cookies();
        elseif ($num == 1)
            return $this->_dispatcher()->response()->cookies()->get($name);
        else {
            if ($val === null)
                $this->_dispatcher()->response()->cookies()->delete($name);
            else
                return $this->_dispatcher()->response()->cookies()->add($name, $val, $params);
        }
    }