I made an automatic error fixer once in Powershell. When you load a module, it would catch missing commas between parameters, and update the module file with the missing commas. I want to extend it to catch many more common coding mistakes.
This sounds like the opposite idea, remove the function instead of repairing it. Very aggressive idea.