removes deprecations