Set object type at object creation time, not object parse time.