Fix registry cache issues.