A lot of changes in the animation class.