public function configure($model, $name)
    {
        return $this->form->of("orchestra.extension: {$name}", function (FormGrid $form) use ($model, $name) {
            $form->setup($this, "orchestra::extensions/{$name}/configure", $model);

            $handles = data_get($model, 'handles', $this->extension->option($name, 'handles'));
            $configurable = data_get($model, 'configurable', true);

            if (! is_null($handles) && $configurable !== false) {
                $form->fieldset(function (Fieldset $fieldset) use ($handles) {
                    // We should only cater for custom URL handles for a route.
                    $fieldset->control('input:text', 'handles')
                        ->label(trans('orchestra/foundation::label.extensions.handles'))
                        ->value(str_replace(['{{domain}}', '{domain}'], '{domain}', $handles));
                });
            }
        });
    }