Remove useless functions