public function getObjectCollection(\SimpleXMLElement $element)
 {
     $collection = parent::getObjectCollection($element);
     foreach ($collection->getPages() as $page) {
         $page->setType($this->pageType->getHandle());
     }
     return $collection;
 }
 protected function parsePage($node)
 {
     $page = parent::parsePage($node);
     $page->setFilename((string) $node['filename']);
     if (isset($node['root']) && $node['root'] == true) {
         $page->setIsAtRoot(true);
     }
     return $page;
 }