Completes has_many, belongs_to, and has_one_through associations.