Added few functions for PeerInterface