Add support for array of ids for method param
Touched up code example formatting