Mark deprecated methods with the @Deprecated annotation.

Mainly for consistency with all of the other things labeled with this annotation.