Changed events_source function this argument

Resolves #2