Added API to Peer