Implemented ping.