Remove needless code.