Make the peer definition an interface.