Simplified the notification class system. Added a filter for adding new notification types.