Use depd for deprecation warnings.

Closes #60.