Update Replace Type Code With Subclasses.