Removing useless functions.