diff --git a/examples/01_empty_window.rb b/examples/01_empty_window.rb
index <HASH>..<HASH> 100644
--- a/examples/01_empty_window.rb
+++ b/examples/01_empty_window.rb
@@ -3,10 +3,10 @@
 # http://library.gnome.org/devel/gtk-tutorial/2.90/c39.html
 #
 $LOAD_PATH.unshift File.join(File.dirname(__FILE__), '..', 'lib')
-require 'girffi/builder'
+require 'girffi'
 
-GirFFI::Builder.build_module 'GObject'
-GirFFI::Builder.build_module 'Gtk'
+GirFFI.setup :GObject
+GirFFI.setup :Gtk
 GirFFI::Builder.build_class 'Gtk', 'Window'
 
 (my_len, my_args) = Gtk.init ARGV.length + 1, [$0, *ARGV]
diff --git a/lib/girffi.rb b/lib/girffi.rb
index <HASH>..<HASH> 100644
--- a/lib/girffi.rb
+++ b/lib/girffi.rb
@@ -32,5 +32,11 @@ module GirFFI
 end  # module GirFfi
 
 require 'girffi/irepository'
+require 'girffi/builder'
 
+module GirFFI
+  def self.setup modul
+    GirFFI::Builder.build_module modul.to_s
+  end
+end
 # EOF
Provide a GirFFI#setup method to setup the namespaces.