Removing all effect references in the plugin