Add AtomicEvent and DurativeEvent classes to extend Event.