Added API for adding tables.