Update specs to fix deprecations