Fix deprecation message for specs