Make CSS selector independent from the 'className' property. Instead use the class metadata.

Signed-off-by: Erik de Bruin <erik@ixsoftware.nl>