diff --git a/lib/diaspora/webhooks.rb b/lib/diaspora/webhooks.rb
index 2be45d76a8b86554d9a128e28df8d11d383192b2..fc241a6d314087b79e6afa509eade45bfd4e1e55 100644
--- a/lib/diaspora/webhooks.rb
+++ b/lib/diaspora/webhooks.rb
@@ -4,16 +4,12 @@
 
 module Diaspora
   module Webhooks
-    def self.included(klass)
-      klass.class_eval do
 
-        def to_diaspora_xml
-          xml = "<XML>"
-          xml += "<post>#{self.to_xml.to_s}</post>"
-          xml += "</XML>"
-        end
-
-       end
+    def to_diaspora_xml
+      xml = "<XML>"
+      xml += "<post>#{to_xml.to_s}</post>"
+      xml += "</XML>"
     end
+
   end
 end