added support for deprecation messages