add deprecated annotations