Add a depreciated warning