Remove duplicate Kind check.