insert missing argument

The method_name argument was forgotten when the new feature was implemented.