Adding event model.