Fix a couple of missed deprecations