diff --git a/lib/bootstrap-definitions.php b/lib/bootstrap-definitions.php
index 3acb0261dd834ad4b590cd64395e79c73785f66b..1b0fbc2cf0d46669017bf274fc90cd1756f09a30 100644
--- a/lib/bootstrap-definitions.php
+++ b/lib/bootstrap-definitions.php
@@ -13,4 +13,10 @@ return [
             ),
         ]);
     }),
+    StudipCache::class => DI\factory(function () {
+        return StudipCacheFactory::getCache();
+    }),
+    StudipPDO::class => DI\factory(function () {
+        return DBManager::get();
+    }),
 ];