Correct deprecation notice

Noticed I did some incorrect copying and pasting