add event fragment classes.