Remove deprecations

This removes all usages of deprecated APIs.
:fire: this `,`