Adapt to the new notifications models.
Update dependencies.