Update calls to deprecated methods while working on https://github.com/phetsims/sun/issues/212
Update calls to deprecated methods while working on https://github.com/phetsims/sun/issues/212

phetsims/sun,phetsims/sun,phetsims/sun