Delete unused functions.