Started work on the event driven side of the API.