insert missing argument

The method_name argument was forgotten when the new feature was implemented.
Merge pull request #41 from johnywith1n/patch-1

insert missing argument