Added Representation#type_name for calculating representation class names.