Optimizes the plugin loading by removing from global level.