Fixed deprecation message