Add Ping functionality.