align class names with style definitions.