Add ObjectEvent and associated classes