Adds macro to surpress deprication