diff --git a/init.rb b/init.rb
index 8f67cbce12cc157a8766e539ed707fa5f56305d2..5dded29b75c9b81a053aa92e5bfe870eb2d412a6 100644
--- a/init.rb
+++ b/init.rb
@@ -1,5 +1,5 @@
 require 'redmine'
-require_dependency 'hooks/view_account_login_bottom_hook'
+require_dependency 'redmine_omniauth_google/hooks'
 
 Redmine::Plugin.register :redmine_omniauth_google do
   name 'Redmine Omniauth Google plugin'
diff --git a/lib/hooks/view_account_login_bottom_hook.rb b/lib/redmine_omniauth_google/hooks.rb
similarity index 72%
rename from lib/hooks/view_account_login_bottom_hook.rb
rename to lib/redmine_omniauth_google/hooks.rb
index 62df7df6dad7046867e950b81bcf5fd4e801e4ec..80a7acc22238f71d3d325b57cdd150ef1228e746 100644
--- a/lib/hooks/view_account_login_bottom_hook.rb
+++ b/lib/redmine_omniauth_google/hooks.rb
@@ -1,5 +1,5 @@
-module Hooks
-  class ViewAccountLoginBottomHook < Redmine::Hook::ViewListener
+module RedmineOmniauthGoogle
+  class Hooks < Redmine::Hook::ViewListener
     def view_account_login_bottom(context = {})
       context[:controller].send(:render_to_string, {
         :partial => "hooks/view_account_login_bottom",