With the changes above you'd do this:

```
foreach($this->blockedScripts as $name) {
    unset($this->scriptMap[$name]);
}
```