Got rid of a deprecation message.