Fix contract and peering creation.