The resources resource type works as is in both host and device mode, but right now it can't be used to manage device resources because it hasn't been marked as "apply_to_all". Marking it as "apply_to_all" enables it to be used to purge device resources without troubles.