Basic framework for events and serialization of objects.