--- a/lgi/override/cairo.lua
+++ b/lgi/override/cairo.lua
@@ -20,7 +20,7 @@
 local enum = require 'lgi.enum'
 local ti = ffi.types
 
-cairo._module = core.module('cairo', 2)
+cairo._module = core.module('cairo')
 local module_gobject = core.gi.cairo.resolve
 
 -- Versioning support.
