add deprecated notice