Adds deprecation message (keeps backwards compatibility)
Version 1.7.0