Removing unused plugins code

I don't immediately know what this does and I'm not using plugins, so
I'm removing it for simplicity.