peer: add types