Clean up tables.