Undo function done.