Up to now, using `.classinfo` is completely valid. So I'm not sure it is correct to change to `error` instead of `deprecation`.