Get rid of unused codes