diff --git a/DoctrinePHPCRBundle.php b/DoctrinePHPCRBundle.php
index <HASH>..<HASH> 100644
--- a/DoctrinePHPCRBundle.php
+++ b/DoctrinePHPCRBundle.php
@@ -37,6 +37,13 @@ use Doctrine\Bundle\PHPCRBundle\OptionalCommand\ODM\DocumentMigrateClassCommand;
 
 class DoctrinePHPCRBundle extends Bundle
 {
+    /**
+     * Autoloader for proxies
+     *
+     * @var \Closure
+     */
+    private $autoloader;
+
     public function build(ContainerBuilder $container)
     {
         parent::build($container);
The class property autoloader was not declared.