diff --git a/src/InnerHit/AbstractInnerHit.php b/src/InnerHit/AbstractInnerHit.php
new file mode 100644
index 0000000000000000000000000000000000000000..f2d92f9ea712b6d90fb6b4c6fc0cad87716c0df6
--- /dev/null
+++ b/src/InnerHit/AbstractInnerHit.php
@@ -0,0 +1,30 @@
+<?php
+
+/*
+ * This file is part of the ONGR package.
+ *
+ * (c) NFQ Technologies UAB <info@nfq.com>
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+namespace ONGR\ElasticsearchDSL\InnerHit;
+
+use ONGR\ElasticsearchDSL\BuilderInterface;
+
+/**
+ * AbstractAggregation class.
+ */
+abstract class AbstractInnerHit implements BuilderInterface
+{
+    /**
+     * {@inheritdoc}
+     */
+    abstract public function toArray();
+
+    /**
+     * {@inheritdoc}
+     */
+    abstract public function getType();
+}