Enable deprecations as exceptions
Fix deprecations
Merge pull request #184 from astrofrog/enable-deprecations-as-exceptions

Enable deprecations as exceptions