Added AnimatedSprite class.