Replaced deprecated function
Merge pull request #47 from kurtpolinar/master

Deprecated functions