Changed peer ID from int to Integer.