Corrected derived datatypes.