Fixed parameters of deprecation shims.