Set class definition during the Amf3Parsing of expand objects.