Converted Matrix classes.