[tor-commits] [metrics-lib/master] Properly mark deprecated method with annotation.