Deleting unneeded code