Removed useless functions.