Wouldn't be simplier to keep ```NotificationServer``` instance in some variable?