Add ping and pong endpoint wrapper methods
endpoint code style