Add support for multiple tables.