put unapply of Notifications into companions

no more scalac crash