enum -> class.