Moved anim_encoder