make the deprecation extension backwards compatible