Improve DeprecationWarnings by using stacklevel

Closes #89