add upgrade hints

Add a couple hints for upgrading older code that uses functions that are gone.
Nitpick: add blank line here.