Added support for ping.