Finished Xiaojun Ma’s work of porting to Gobject Introspection.