make Peer serializable