Add a deprecated warning