Change to using typed docstrings.

(I think the word you want is "deprecated")