Adapt to the Pulsar-Rest-Api 0.0.4.

Not needed?