Fixed up a couple of swapped parameters.