[BUGFIX] Correct wrong class names in deprecation.rst