Remove unused stuff in peer package