doc: add deprecation message.