Added deprecation message.