Ensure resources are unique.