device: use g_object_class_install_properties