Fixed wrong prototype to follow mixpanel

And it's fucking ugly.
Merge pull request #6 from Nek-/patch-2

Fixed wrong prototype to follow mixpanel