Improved work with repositories.