A bunch of deprecation fixes

Merged Raphaël Gomès requested to merge topic/stable/from-ml.mads.deprecation into branch/stable

Merge request reports