Fix deprecated function messages

`__METHOD__` already includes classname
Merge pull request #1239 from jrfnl/Fix-deprecated-messages

Fix deprecated function messages