[misc] Add missing @deprecated
[misc] Apply codestyle