public function initialize()
    {
        if (null !== $this->menus) {
            return;
        }

        $this->menus = [];
        foreach ($this->getMenuDefinitions() as $name => $itemData) {
            if (isset($itemData['.menu_class_name'])) {
                $menuClass = $itemData['.menu_class_name'];

                unset($itemData['.menu_class_name']);
            } else {
                $menuClass = 'C33s\MenuBundle\Menu\Menu';
            }

            $this->menus[$name] = new $menuClass($itemData, $this->getContainer(), $this->itemClassAliases);
        }
    }