Adjustments to database, set associations in models.