Use GObject reflection for setting properties.