diff --git a/src/Storage/Repository.php b/src/Storage/Repository.php
index <HASH>..<HASH> 100644
--- a/src/Storage/Repository.php
+++ b/src/Storage/Repository.php
@@ -44,22 +44,34 @@ class Repository implements ObjectRepository
         $this->setPersister($persister ?: new Persister($classMetadata));
         $this->setLoader($loader ?: new Loader());
     }
+    
+    /**
+     * Creates a new empty entity and passes the supplied data to the constructor.
+     *
+     * @param array $params
+     *
+     * @return Content
+     */
+    public function create($params = null)
+    {
+        $entityClass = $this->getClassName();
+        return new $entityClass($params);
+    }
 
     /**
      * Creates a new QueryBuilder instance that is prepopulated for this entity name.
      *
      * @param string $alias
-     * @param string $indexBy The index for the from.
      *
      * @return QueryBuilder
      */
-    public function createQueryBuilder($alias = null, $indexBy = null)
+    public function createQueryBuilder($alias = null)
     {
         if (null === $alias) {
             $alias = $this->getAlias();
         }
         return $this->em->createQueryBuilder()
-            ->select($alias.".*")
+            ->select($alias)
             ->from($this->getTableName(), $alias);
     }
 
@@ -178,6 +190,7 @@ class Repository implements ObjectRepository
             return false;
         }
     }
+    
 
     /**
      * Internal method to initialise and return a QueryBuilder instance.
remove indexby option from createQueryBuilder