public function getTemplate($page)
    {
        // determine page bundle name.
        $bundle = $this->getBundleName(ClassUtils::getRealClass(get_class($page)));
        return sprintf('%s:Page:%s.html.twig', $bundle, $page->getTemplateName());
    }