Added support for legacy animations