Maybe it'd be better to change the signature of `notificationService#vibrate` to take an object then:

```js
notifcationService.vibrate({
  duration: 50
});
```