Fixed double `class` appending