Added indexes to database.