mark deprecated api docs