diff --git a/src/HasRelationships.php b/src/HasRelationships.php
index <HASH>..<HASH> 100644
--- a/src/HasRelationships.php
+++ b/src/HasRelationships.php
@@ -102,7 +102,9 @@ trait HasRelationships
             $segments = preg_split('/\s+as\s+/i', $class);
 
             $instance = Str::contains($segments[0], '\\')
-                ? new $segments[0]()
+                ? (method_exists($this, 'newRelatedThroughInstance')
+                    ? $this->newRelatedThroughInstance($segments[0])
+                    : new $segments[0]())
                 : (new Pivot())->setTable($segments[0]);
 
             if (isset($segments[1])) {
Use the `newRelatedThroughInstance` method to prepare the through parents (#<I>)

* use `newRelatedThroughInstance` method



* check if method exists to support older versions