Wiring up some repository stuff.