support undefine/redefine class constants