Wiring up repositories