Pass in the animations specs mapped by animation type.