public void unregisterForNotifications(User user, NotificationType type)
 {
     // ...
 }
 public void register(User user, NotificationType type)
 {
     // ...
 }