Don't pass environment vars to the deprecate method