Added support for undoing changes in tables, etc.