Added cleanregistries