diff --git a/src/Analyzer/ModelAnalyzer.php b/src/Analyzer/ModelAnalyzer.php
index <HASH>..<HASH> 100644
--- a/src/Analyzer/ModelAnalyzer.php
+++ b/src/Analyzer/ModelAnalyzer.php
@@ -15,7 +15,9 @@ use Czim\CmsModels\Support\Enums\RelationType;
 use Exception;
 use Illuminate\Database\Eloquent\Model;
 use Illuminate\Database\Eloquent\Relations\BelongsTo;
+use Illuminate\Database\Eloquent\Relations\BelongsToMany;
 use Illuminate\Database\Eloquent\Relations\MorphTo;
+use Illuminate\Database\Eloquent\Relations\MorphToMany;
 use Illuminate\Database\Eloquent\Relations\Relation;
 use LimitIterator;
 use phpDocumentor\Reflection\DocBlockFactory;
Fixed missing imports for modelanalyzer relation types