public static function moveShortcuts($props, $addKeys = array())
    {
        $attribShortcuts = \array_merge(array(
            'checked',
            'disabled',
            'name',
            'required',
            'selected',
            'type',
            'value',
        ), $addKeys);
        if (isset($props['attributes'])) {
            $props['attribs'] = $props['attributes'];
            unset($props['attributes']);
        }
        if (!isset($props['attribs'])) {
            $props['attribs'] = array();
        }
        foreach ($attribShortcuts as $k) {
            if (\array_key_exists($k, $props) && !isset($props['attribs'][$k])) {
                $props['attribs'][$k] = $props[$k];
            }
            unset($props[$k]);
        }
        return $props;
    }