Minor typo in deprecated method