Added loadPlugins() and loadHandlers() with pre-loaded check