Fix deprecated function messages

`__METHOD__` already includes classname