cleanup: kill some deprecation warnings in specs