Add method setAnimationProperty for using as a setter for animation property.