protected function _extractMenuOptions(array &$options)
    {
        $menuOptions = array_intersect_key(
            $options,
            array_flip([
                'templates',
                'templateVars',
                'menuAttributes'
            ])
        );

        $options = array_diff_key($options, $menuOptions);

        return $menuOptions;
    }