Moved cloning to the repository.