Getting rid of duplicate warnings.