Add event classes.