Fix typo in deprecation