Support arrays being passed to invoke.