Added support for adding more inputs to a component.