adds set_classname class method to override default behavior