add deprecation message in class documentation

I'm not sure if this is enough, can you help me?