extend deprecated_api with warning messages
Merge pull request #501 from Garonenur/deprecated

extend deprecated_api with warning messages