Hi,
There are a few packages which use a Purge node, Orchid & Genius Loci, perhaps also have a look here?
Cheers,
Mark