Added code for outputting delta tables.