Remove a warning

The `@deprecated` method takes 2 args.