Fix requires for analytics