Hi,

this PR fixes a couple of deprecation warnings.

Cheers, Christoph