probably implement script support for "set class"