Deprecate methods that are useless

This can help user to identify coding mistakes earlier.
Merge pull request #49 from ash2k/deprecation-for-useless-methods

Deprecate methods that are useless