Added indexes to tables.