Remove useless bits.