Removed deprecated Animator function.