Avoid resource collisions.