Fixed appstats integration.