Fix all plugin-related errors.