Added few functions for PeerDatabase