Remove a warning

The `@deprecated` method takes 2 args.
Merge pull request #658 from ndeverge/patch-3

Remove a warning