Fixed a typo Events.objects -> Event.objects
Moved the self parameter in some class members to the first parameter.