add support for using arrays with the :pids parameter