Added CustomSerializerType support for TLObject.