Add support for custom animations