Add deprecated warning