ClassCommand redefine class