Fix missing method in Animation class