Now supports resetting variable lengths of tables.