Fixed some peer() method problems.