compress anim and pre classes.