Added model for events.