diff --git a/pub/index.php b/pub/index.php
index <HASH>..<HASH> 100644
--- a/pub/index.php
+++ b/pub/index.php
@@ -9,5 +9,4 @@ require_once '../vendor/autoload.php';
 $request = HttpRequest::fromGlobalState(file_get_contents('php://input'));
 
 $website = new SampleWebFront($request);
-$website->registerFactory(new SampleFactory());
 $website->run();
diff --git a/src/SampleWebFront.php b/src/SampleWebFront.php
index <HASH>..<HASH> 100644
--- a/src/SampleWebFront.php
+++ b/src/SampleWebFront.php
@@ -17,6 +17,7 @@ class SampleWebFront extends WebFront
     protected function registerFactories(MasterFactory $masterFactory)
     {
         $masterFactory->register(new CommonFactory());
+        $masterFactory->register(new SampleFactory());
         $masterFactory->register(new FrontendFactory($this->getRequest()));
     }
Issue #<I>: Register SampleFactory in SampleWebFront