add support for setClassName