Add the repos function.