Automatic loading of repositories