diff --git a/src/Aggregation/NestedAggregation.php b/src/Aggregation/NestedAggregation.php
index ee0bdc125031927590cd91e2b9f07bdb106e4232..f3ace96516ef1ed12467a2f258ca0749b5db9049 100644
--- a/src/Aggregation/NestedAggregation.php
+++ b/src/Aggregation/NestedAggregation.php
@@ -25,6 +25,19 @@ class NestedAggregation extends AbstractAggregation
      */
     private $path;
 
+    /**
+     * Inner aggregations container init.
+     *
+     * @param string $name
+     * @param string $path
+     */
+    public function __construct($name, $path = null)
+    {
+        parent::__construct($name);
+
+        $this->setPath($path);
+    }
+
     /**
      * Return path.
      *