Added support for targeted purging.