diff --git a/lib/rack-cas-rails/rails_application_additions.rb b/lib/rack-cas-rails/rails_application_additions.rb
index <HASH>..<HASH> 100644
--- a/lib/rack-cas-rails/rails_application_additions.rb
+++ b/lib/rack-cas-rails/rails_application_additions.rb
@@ -1,7 +1,7 @@
 ##
 # Augments the Rails::Application class.
 
-class Rails::Application < Rails::Engine
+Rails::Application.class_eval do
 
   ##
   # Gives the Rails::Application class a read-only class attribute to point to the CAS server URL.  The URL in turn is then
Use class_eval to extend Rails::Application also, just in case.