add TODO: type the connectedCallback.