type -> class