Add GObject struct.