public function define($extension, $name, $type, $customImporter = '', $inlineFileViewer = '', $editor = '', $pkgHandle = '')
    {
        $ext = explode(',', $extension);
        foreach ($ext as $e) {
            $this->types[strtolower($e)] = (new FileType())
                ->setName($name)
                ->setExtension($e)
                ->setCustomImporter($customImporter)
                ->setEditor($editor)
                ->setGenericType($type)
                ->setView($inlineFileViewer)
                ->setPackageHandle($pkgHandle);
        }
    }