If custom toCSS class name is specified, it is now added to the DOMActor element.