protected function tagUrlsWithFrame($urls, $frame)
    {
        $tagged = array();
        foreach ($urls as $url) {
            if (! $url->getTarget()) {
                $url->setTarget($this->getPublicNameFromIndex($frame));
            }
            $tagged[] = $url;
        }

        return $tagged;
    }