cleanup#

Cleanup functions for Analytics.

@nodoc.