Moved newNotificationQueue to Environment to avoid using reflection