Wire up associations in models