removed references to 'pyevents'