deprecate className (renamed to class_name)