Added support for methods with multiple arguments.