Vars to the resource type.