public function getPageByIndex($index)
    {
        if (!$this->hasPageWithIndex($index)) {
            throw new Exception(sprintf('There is no page with an index of %d', $index), 1329233627);
        }
        return $this->renderables[$index];
    }