Yup, its a much nicer api (it would need to be an exception to the only use class changes in javascript rule though (its just shorthand for display:none)