Actually register the ping handler so it can do the right thing.