Removing unused plugin event wiring