Function decorators and helper methods for use with Mixpanel