Make curcmd private