Tried to get undo working, couldn't.