Set value with class name