Managed to get more complicated version to work with a single argument
containing an array of items.  It should also work with nested nested
arguments, but I still need to test to be sure.