Completed initial version of the synchronous events module.