protected function save(User $user, Model $model) : bool
    {
        if ($model->save() && $model->wasRecentlyCreated) {
            Event::dispatch(new Imported($user, $model));

            // Log the successful import.
            if ($this->isLogging()) {
                logger()->info("Imported user {$user->getCommonName()}");
            }

            return true;
        }

        return false;
    }