protected function addRetrieveRoot(&$script)
    {
        $queryClassName    = $this->queryClassName;
        $objectClassName   = $this->objectClassName;
        $useScope          = $this->behavior->useScope();