GType generation w/o using introspection