Eliminate dead code