Fix comment for deprecated function