Right, I just read his code and he actually means replace not remove. This can be done easily in panflute if he want to. The panflute documentation has a related example. I think I started a thread here wanting to do similar thing, I called it unsmart, and someone else calls it something like dump-something.