Replace a couple depreacted constants/functions
Merge pull request #12 from FoxFire/dep-functions

Replace depreacted constants/functions