Add deprecated warnings