Converted the deprecations with the help of transpec

Keeping its, at least for now