public function createFluidContent($pid, $vendor, $ext, $file, $attrs = [])
    {
        // Simplify the build of a flexform

        if (isset($attrs['form'])) {
            $flexFormDef = [];

            foreach ($attrs['form'] as $key => $value) {
                $flexFormDef[$key] = [
                    'vDEF' => $value
                ];
            }

            $attrs['pi_flexform'] = [
                'data' => [
                    'options' => [
                        'lDEF' => $flexFormDef
                    ]
                ]
            ];

            unset($attrs['form']);
        }

        return $this->create($pid, array_merge($attrs, [
            'CType' => 'fluidcontent_content',
            'tx_fed_fcefile' => $vendor.'.'.$ext.':'.$file
        ]));
    }