Small rewrite to wg purge