Prepare the plugin base