Any particular reason to use ```pop``` instead of ```del``` (see below)? The reason I ask is that ```del``` runs slightly faster than ```pop```.

```python
del kwargs['resource']
```