Pretty sure that this can just be `self.deprecated`, since it's part of the `__slots__` of the base class.