Avoid annoying g_type_init deprecation warnings