refactor: removing deprecations into specs