Added composition functions for animations.