`class` -> `className`