Deleting unecessary functions.