Added deprecation warnings
Merge pull request #4 from pkruithof/master

Added deprecation warnings