Fix loading plugins.