public function clear()
    {
        $this->controller = null;
        $this->action = null;
        $this->filters = array();
        $this->filter_names = array();
        $this->position = 0;
        $this->has_action_filter = false;
    }