Add a deprecation notice.