[Animation] Added RefAnimation class template