Move the PeerPtr declaration out of types.h