protected function registerMedia($name, $options)
    {
        $this->media_files[$name] = new Manager($name, $this->mergeOptions($options));
        $this->media_files[$name]->setInstance($this);
    }