Remove duplicate checks.