Add a local component.