Remove the useless codes instead.