Add missing deprecation attributes