Change deprecated message

Fix for #1060.

@JeffPyeBrook might want to check this in case I'm missing something.