diff --git a/lib/subdomain_locale/railtie.rb b/lib/subdomain_locale/railtie.rb
index <HASH>..<HASH> 100644
--- a/lib/subdomain_locale/railtie.rb
+++ b/lib/subdomain_locale/railtie.rb
@@ -1,16 +1,16 @@
 require "rails/railtie"
-require "subdomain_locale/url_for"
-require "subdomain_locale/controller"
 
 module SubdomainLocale
   class Railtie < ::Rails::Railtie
 
     initializer "subdomain_locale.url_helpers" do
+      require "subdomain_locale/url_for"
       Rails.application.routes.url_helpers.send :include, SubdomainLocale::UrlFor
     end
 
     initializer "subdomain_locale.controller" do
       ActiveSupport.on_load :action_controller do
+        require "subdomain_locale/controller"
         include SubdomainLocale::Controller
       end
     end
Move requires into the initialization hooks.