Final claanup of repository.