Gets rid of the usage of deprecated properties

Fixes #27
Merge pull request #29 from novoda/fix_deprecated_properties

Gets rid of the usage of deprecated properties