Fix comments referring to deprecated methods.