* Fix a deprecation warning. * Remove unused method. * Fix a crash caused by using old Sentry transactions.