This is not necessary as this is automatically added by the deprecated decorator.