Deleted useless functions.