Add timing of classes.