Use new view registry API

Also gave NotificationElement an ::initialize method so you
can instantiate one with a model with a single line