Add ping endpoint.