Change to how relays are created and deleted