Cleans up the 'base' file of the plugin