diff --git a/lib/xcake/project.rb b/lib/xcake/project.rb
index <HASH>..<HASH> 100644
--- a/lib/xcake/project.rb
+++ b/lib/xcake/project.rb
@@ -71,6 +71,23 @@ module Xcake
       target
     end
 
+    # Visitable
+    def accept(visitor)
+      visitor.visit(self)
+
+      flatten_configurations.each do |c|
+        visitor.visit(c)
+        visitor.leave(c)
+      end
+
+      self.targets.each do |t|
+        visitor.visit(t)
+        visitor.leave(t)
+      end
+
+      visitor.leave(self)
+    end
+
     protected
 
     # Configurable
@@ -88,24 +105,5 @@ module Xcake
       common_settings = Xcodeproj::Constants::PROJECT_DEFAULT_BUILD_SETTINGS
       default_settings.merge!(Xcodeproj::Project::ProjectHelper.deep_dup(common_settings[:release]))
     end
-
-    public
-
-    # Visitable
-    def accept(visitor)
-      visitor.visit(self)
-
-      flatten_configurations.each do |c|
-        visitor.visit(c)
-        visitor.leave(c)
-      end
-
-      self.targets.each do |t|
-        visitor.visit(t)
-        visitor.leave(t)
-      end
-
-      visitor.leave(self)
-    end
   end
 end
Moves Project #accept to public area