Added functionality to the component.