Added crude support for animations.