Fix typo in deprecation warning