Cmd clean

Removed unused function from CmdManager