Add ping/pong method.