Remove irrelevant code.