I would switch the `$client` and `$purgeLocation` parameters around.