Kill unnecessary code