public function delete(bool $deep = false, bool $children = false,
                           bool $references = false) {
        if ($this->uri != '') {
            parent::delete($deep, $children, $references);
        }
        $this->uri       = '';
        $this->resources = $this->classes   = array();
        $this->roles     = array(
            self::USER  => array(),
            self::GROUP => array()
        );
    }