Added check for existence of a type serializer in TLRig.