Eliminate junk code