Added code for web component.