The correct way to add a control now is:

```
map.addControl(control);
```

I'm going to add a commit for that.