Fixed generating stubs for methods with array arguments.  Previously non-primitive arrays were just being added as scalar args.