Work on the database population.