Remove unkeyed composite literals.

This was done to keep in accordance with `go vet`.
Return PeerMap by reference.

In accordance with `go vet`, locks should only be returned by reference.