Add support for animations.