public static function saveMany($datasets)
    {
        $models = [];

        if (! is_array($datasets)) {
            $datasets = [$datasets];
        }

        foreach ($datasets as $dataset) {
            $class = get_called_class();
            $model = new $class();

            // Assign attributes.
            foreach ($dataset as $attribute => $value) {
                $model->{$attribute} = $value;
            }

            $model->save();
            $models[] = $model;
        }

        return collect($models);
    }