add deprecated comments.