Improve deprecation messages