Simplified the PingPong demo.