[Ide] Remove some dead code