Remove unused arguments in peers.js