Remove useless (and buggy) piece of code.