Add deprecation notice and moved error.
Merge pull request #15 from incuna/deprication

Add deprecation notice and moved error.