Moved event code into new EventedProcess class.