Replace generic names in allowed keyword set