Fix method declaration/call order.