Protecting a component during manufacturing