Add deprecated tag to class var