add missing @deprecated annotation to legacy classes

cc @th3fallen @DeepDiver1975 @MorrisJobke @LukasReschke