Safer implementation of Animator