This can lead to issues, e.g., due to types being registered more than once
with perl-Glib. In particular, the lazy-loading mechanism of Glib::Object is
not prepared to handle repeated type registrations.