Changing group field to resource.