public function getMenu($name = 'default')
    {
        $this->initialize();
        if (!isset($this->menus[$name])) {
            throw new MenuDoesNotExistException(sprintf('Menu %s does not exist', $name));
        }

        return $this->menus[$name];
    }