Converts material to generic material.