Reordered params.

Updated examples syntax.