Cleanup and support for destination_url parameter

I don't think the `len()` part is necessary since:

```
>>> bool({})
False
```