Also add a setter for the classname.