Added assertions + animation's duration property.