Small refactor to PeerList class