Make deprecation message more useful