Expose events to the Python subsystem.