Adding logging and AnalyticsHelper.