Added plugin loading events