added a deprecation message