Add depricated warning