Fix depercation messages

Fixes #371. I hope that helps.