Added plugin loader safety.