rename Endpoint to Peer