Renames animationLength to getAnimationLength.