Remove warnings for deprecated functions where necessary.
Merge pull request #9 from rcedwards/removeWarnings

Remove warnings for deprecated functions where necessary.