Class TailFunction