Remove animation reference function added.