Remove dead and unused code.