Implemented setClass for ClassCell