Updated deprecated methods
Merge pull request #11 from MRylander/master

Updated deprecated methods