Switched NotificationEvent.pm to object manager.