add deprecated documentation