Fixed deprecated message.