Allow ping() to be called with null listener
Regenerated