Add SimplePusher.on method to receive message callbacks.