Remove unsed code.