Under what circumstances would `plugin` be nil?