private function persist()
    {
        $bootstrap = Bootstrap::getInstance();
        $config = $bootstrap->getConfiguration();
        $config['pages'] = array();
        foreach ($this->pages as $page) {
            $page->appendConfig($config['pages']);
        }
        $bootstrap->setConfiguration($config);
    }