Add deprecated attribute