Made notifications work again after breaking them in previous commit.