Properly set const on accessors.
Add tostring operator to all peers.