Add deprecation notes, fix deprecation warnings

Closes #152