Removes dead code