Fixed a few references to deprecated functions I missed.

Thanks to @aaronharnly for the review.