Remove unneeded commands from plugins