Compatibility fix for effect plugin