IDE-919

Remove useless code.