Remove unsed code