Undo element API