Simplified type determination of notifications.