TODO: fix AnimationCache loading method.