Generalize skin repository into image repository.