Getting rid of build warnings, and adding necessary casts so MixpanelProvider.m compiles.