Clear the code of all the unused functions